.videoItem {

  .imageBlock {
    position: relative;

    .bottom {
      position: absolute;
      left: 0;
      bottom: 0;
      display: flex;
      align-items: flex-end;
      width: 100%;
      height: 20%;
      background: linear-gradient(transparent, #000);
      border-radius: 0 0 6px 6px;
      z-index: 100;

      .playNum {
        margin: 0 5px;
        padding-bottom: 4px;
      }
    }
  }

  &:hover {
    border-radius: 5px;
    box-shadow: 4px 4px 7px 1px #DDD;
  }
}

.horizontal {
  width: 400px;
  display: flex;
  flex-direction: row;

  .image {
    width: 200px;
    height: 125px;
  }

  .detail {
    width: 100%;
    margin-left: 10px;
    .videoTitle {
      .ellipsis(3);
    }
  }

}

.vertical {
  display: flex;
  flex-direction: column;
  max-width: 300px;

  .image {
    height: 180px;
  }

  .detail {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .videoTitle {
      .ellipsis(2);
    }
  }

  .videoAuthor {
    margin-top: 20px;
  }
}

.detail {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bottom {
  display: flex;
}

.videoTitle {
  box-sizing: border-box;
  width: 100%;
  padding: 4px 4px 0;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.3s;
  height: 48px;

  &:hover {
    .linkHover()
  }
}

.videoAuthor {
  margin: 2px;
  transition: color 0.3s;
  font-size: 12px;
  color: #ccc;

  &:hover {
    .linkHover()
  }
}

.linkHover {
  cursor: pointer;
  color: rgb(82, 200, 226);
}